Skip to contentSkip to conversation

LLVM ERROR: Cannot select: intrinsic %llvm.amdgcn.buffer.load.format

Bug 100068 [email protected] 1 participant 5 messages Mar 5, 2017 – Mar 6, 2017

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=100068

Bug ID: 100068
Summary: LLVM ERROR: Cannot select: intrinsic
%llvm.amdgcn.buffer.load.format
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 130077
--> https://bugs.freedesktop.org/attachment.cgi?id=130077&action=edit
check for proper llvm version

I have mesa today's snapshot build against llvm 3.9.1.

When glxgears is started it aborts with the message:

LLVM ERROR: Cannot select: intrinsic %llvm.amdgcn.buffer.load.format

It looks like this intrinsic is supported with llvm 4.0 and higher, as when mesa is build against llvm 4.0 apps work as expected.

A simple patch to fix this error is attached.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=100068

Dave Airlie <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Dave Airlie <[email protected]> --- Fixed thanks for testing/patch.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100068

--- Comment #2 from Wojciech Pyczak <[email protected]> --- Created attachment 130081
--> https://bugs.freedesktop.org/attachment.cgi?id=130081&action=edit
Unigine Heaven output

Looks like it's not all, glxgears works fine though.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100068

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #130081|text/x-log                  |text/plain
          mime type|                            |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=100068

--- Comment #3 from Hleb Valoshka <[email protected]> --- (In reply to Wojciech Pyczak from comment #2)

Quoted 4 lines

Created attachment 130081 [details]
Unigine Heaven output

Looks like it's not all, glxgears works fine though.

Looks like Marek has found a correct solution:

https://lists.freedesktop.org/archives/mesa-dev/2017-March/146693.html

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel